package tpIntelligenceArtif;

import java.util.Vector;

public class Regle {
	private Vector <String> premisse ;
	private Vector <String> conclusion ;
	private int marquage;
	

	/*-------------Setters and getters--------------*/

	public Regle(Vector <String> pr,Vector <String> conc) {
	premisse=pr;
	conclusion=conc;
	marquage=0;
	}
	public void addPremisse(String prem) {
		premisse.add(prem);
	}
	public Vector <String> getPremisse() {
		return premisse;
	}
	public void addConclusion(String conc) {
		conclusion.add(conc);
	}
	public Vector <String> getConclusion() {
		return conclusion;
	}
	public void setMarquage(int marquage) {
		this.marquage = marquage;
	}
	public int getMarquage() {
		return marquage;
	}

}
